# filename: example8_28

student = {'Tom', 'Jim', 'Mary', 'Tom', 'Jack', 'Rose'}
print(student)
if 'Rose' in student:
    print('Rose is in the set.')
else:
    print('Rose is not in the set.')
a = set('abcde')
b = set('abc')
print(a)
print(a - b)
print(a | b)
print(a & b)
print(a ^ b)  # xor
